// //tower of hanoi

// function towerOfHanoi(disc, src, aux, dst) {
// 	if (disc > 0) {
// 		towerOfHanoi(disc - 1, src, dst, aux);
// 		console.log(`Move disc ${disc} from ${src} to ${dst}`);
// 		towerOfHanoi(disc - 1, aux, src, dst);
// 	}
// }

// towerOfHanoi(3, 'A', 'B', 'C');


// //tower of hanoi

// function towerOfHanoi(n, source, auxiliary, destination) {
//     if (n > 0) {
//         towerOfHanoi(n - 1, source, destination, auxiliary);
//         move(source, destination);
//         towerOfHanoi(n - 1, auxiliary, source, destination);
//     }
// }

// function move(source, destination) {
//     console.log(`Move disk from ${source} to ${destination}`);
// }

// towerOfHanoi(4, "A", "B", "C");

